package com.xwj.back.controller.user;


import com.xwj.back.service.user.InfoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.Map;

@RestController
public class InfoController {

    @Autowired
    private InfoService infoService;

    @PostMapping("/user/info/")
    public Map<String,String> getUserInfo(){
        return infoService.getUserInfo();
    }
}
